package com.biovr.backend.security;

import com.biovr.backend.domain.User;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by monodev on 2017/6/17.
 */
public interface AuthService {
    User register(User userToAdd) ;
    String login(HttpServletRequest request, String username, String password);
    String refresh(String oldToken);
}
